Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.5

WebsydianExpress - Message


WSE0201 - Write To Browser Called Twice

Error message

The procedure WritePage was called twice for template &(1:).

Description

2E and RPG Developer only:

The WritePage API has been called twice for one request. The second call will not be handled. The template id parameter specifies the input to the second call.

The runtime can only service one page to the browser pr. request - to avoid problems the second call is disreagrded.

The most common cause for this situation is if an error page has been called to report an error - and the controlling program instead of terminating calls the "normal" reply page as well.

Action

Check the calls to WritePage - ensure that only one can be performed for a request.

Category / Severity

API / Error